// import Vue from 'vue'
// import ElementUI from 'element-ui'
// import 'element-ui/lib/theme-chalk/index.css'
import App from './App.vue'
import router from './router'
import axios from './utils/request'
// import '../mock/mockServer'
import './style/index.css'
import dayjs from 'dayjs'
// 引入flexble
import 'lib-flexible'
// import echarts from 'echarts'
import '../node_modules/echarts/map/js/china'
// import './plugins/element.js'

// eslint-disable-next-line no-undef
Vue.prototype.$echarts = echarts

// eslint-disable-next-line no-undef
Vue.config.productionTip = false

// eslint-disable-next-line no-undef
Vue.prototype.$http = axios
// Vue.use(AMap)
// eslint-disable-next-line no-undef
Vue.filter('formateTime', function (val) {
  return dayjs(val).format('YYYY-MM-DD')
})

// eslint-disable-next-line no-undef
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
